*** Settings ***
Documentation       通过ipmi接口查询openUBMC的sdr列表
Resource            ../../test_function/ipmi/ipmi.robot
Library             OperatingSystem
Library             BuiltIn

Test Tags           Ipmi_Sdr_List

*** Variables ***
${input}                    sdr list
${expected_rc}              ${0}
${expected_output}          1711 Core Temp


*** Test Cases ***
Get IPMI SDR List
    [Documentation]    带认证的IPMI设备ID测试
    [Tags]  Get_SDR_List_Via_IPMI
    ${rc}    ${output}=  Run External Ipmi Command    ${input}
    Log    Command Output: ${output}
    Should Be Equal    ${rc}    ${expected_rc}    msg=${output}
    Should Contain    ${output}    ${expected_output}


